<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="portlet box blue">
	<div class="portlet-title">
		<div class="caption">
			<i class="fa fa-gift"></i>新增产品
		</div>
	</div>
	<div class="portlet-body form">
		<form id="putForm" class="form-horizontal form-bordered"
			action="/put/save" method="post">



			<div style="margin: 0 auto; width: 60%; padding: 2%;">
				<label>所属分类&nbsp;</label><select style="width: 200px;"><option>家具</option></select>

				<label style="margin-left: 35px;">实际收货&nbsp;</label><input
					type="text" name="amount" value="${storage.amount}" maxlength="45"
					style="width: 200px;" /><br> <br> <label>产品名称&nbsp;</label><input
					type="text" name="productName" value="${storage.productName}"
					maxlength="45" style="width: 500px;" /><br> <br> <label>我司货号&nbsp;</label><input
					type="text" name="productNo" value="${storage.productNo}"
					maxlength="45" style="width: 500px;" /><br> <br> <label>单位&nbsp;</label><input
					type="text" name="unit" value="${storage.unit}" maxlength="45"
					style="width: 125px;" /> <label style="margin-left: 25px;">包装&nbsp;</label><input
					type="text" name="package" value="${storage.packages}"
					maxlength="45" style="width: 125px;" /> <label
					style="margin-left: 29px;">包装体积&nbsp;</label><input type="text"
					name="volume" value="${storage.volume}" maxlength="45"
					style="width: 125px;" /> <br> <br> <label>长&nbsp;</label><input
					type="text" name="length" value="${storage.length}" maxlength="45"
					style="width: 125px;" /><label>cm</label> <label
					style="margin-left: 35px;">宽&nbsp;</label><input type="text"
					name="width" value="${storage.width}" maxlength="45"
					style="width: 125px;" /><label>cm</label><label
					style="margin-left: 32px;">高&nbsp;</label><input type="text"
					name="height" value="${storage.height}" maxlength="45"
					style="width: 125px;" /><label>cm</label><br> <br> <label>毛重&nbsp;</label><input
					type="text" name="roughWeight" value="${storage.roughWeight}"
					maxlength="45" style="width: 125px;" /><label>G</label> <label
					style="margin-left: 20px;">净重&nbsp;</label><input type="text"
					name="netWeight" value="${storage.netWeight}" maxlength="45"
					style="width: 125px;" /><label>G</label> <label
					style="margin-left: 20px;">箱数&nbsp;</label><input type="text"
					name="box" value="${storage.box}" maxlength="45"
					style="width: 125px;" /> <label>箱</label><br> <br>

				<textarea rows="5" name="description" value="${storage.description}"
					style="width: 560px;">中文描述：</textarea>

			</div>





			<div class="form-actions">
				<div class="col-md-9 col-md-offset-3">
					<button type="button" class="btn btn-primary" onclick="save(this)">
						保存并新增</button>
					<button type="button" class="btn btn-primary" onclick="save(this)">
						保存并关闭</button>
					<button type="reset" class="btn btn-default" onclick="cancel()">
						关闭</button>

				</div>
			</div>
			<input type="hidden" name="id" value="${put.id}">
		</form>
	</div>
</div>
<script type="text/javascript"
	src="<c:url value="/static/custom/datepicker-util.js"></c:url>"></script>
